package com.ruoyi.cases.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 病害排查对象 jl_troubleshooting_table
 * 
 * @author ruoyi
 * @date 2024-05-16
 */
public class JlTroubleshootingTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;
    private int xh;
    /** 类型 */
    @Excel(name = "类型")
    private Integer iTroubleshooting;

    /** 部位 */
    @Excel(name = "部位")
    private Integer iPart;

    /** 起始桩号 */
    @Excel(name = "起始桩号")
    private String locationPileNumberBegin;

    /** 结束桩号 */
    @Excel(name = "结束桩号")
    private String locationPileNumberEnd;

    /** 位置桩号 */
    @Excel(name = "位置桩号")
    private String locationNum;

    /** 路线名称 */
    @Excel(name = "路线名称")
    private String roadName;

    /** 排查方向 */
    @Excel(name = "排查方向")
    private String troubleshootingDirection;

    /** 损坏程度 */
    @Excel(name = "损坏程度")
    private Integer damageLevel;

    /** 损坏数量 */
    @Excel(name = "损坏数量")
    private String damageNum;

    /** 计数单位 */
    @Excel(name = "计数单位")
    private Integer numUnit;

    /** 情况简单描述 */
    @Excel(name = "情况简单描述")
    private String description;

    /** 修复方式 */
    @Excel(name = "修复方式")
    private Integer repairMethod;

    /** 排查照片id串 */
    @Excel(name = "排查照片id串")
    private String picIds;

    /** 排查时间 */
    @Excel(name = "排查时间")
    private String troubleshootingTime;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditUserId;
    /*创建人*/
    private String userId;
    /*额定标准单位*/
    private String quantitativeRatedUnitValue;
    /*自由人员人数*/
    private String insourcedNum;
    /*自由人员名称组合*/
    private String insourcedName;

    private String startDate;
    private String endDate ;
    /*定额外项目描述*/
    private String beyondQuota;
    /*作业项目类型 1定额项目 2定额外项目*/
    private String taskType;
    /*材料使用量*/
    private String materialUsage;

    /*施工中照片*/
    private String  picIdsMiddle;
    /*施工后照片*/
    private String  picIdsEnd;
    /*施工前照片*/
    private String  picIdsBegin;

    private String personTotal;

    public String getPersonTotal() {
        return personTotal;
    }

    public void setPersonTotal(String personTotal) {
        this.personTotal = personTotal;
    }

    public String getBeyondQuota() {
        return beyondQuota;
    }

    public void setBeyondQuota(String beyondQuota) {
        this.beyondQuota = beyondQuota;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getMaterialUsage() {
        return materialUsage;
    }

    public void setMaterialUsage(String materialUsage) {
        this.materialUsage = materialUsage;
    }

    public String getPicIdsMiddle() {
        return picIdsMiddle;
    }

    public void setPicIdsMiddle(String picIdsMiddle) {
        this.picIdsMiddle = picIdsMiddle;
    }

    public String getPicIdsEnd() {
        return picIdsEnd;
    }

    public void setPicIdsEnd(String picIdsEnd) {
        this.picIdsEnd = picIdsEnd;
    }

    public String getPicIdsBegin() {
        return picIdsBegin;
    }

    public void setPicIdsBegin(String picIdsBegin) {
        this.picIdsBegin = picIdsBegin;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getInsourcedNum() {
        return insourcedNum;
    }

    public void setInsourcedNum(String insourcedNum) {
        this.insourcedNum = insourcedNum;
    }

    public String getInsourcedName() {
        return insourcedName;
    }

    public void setInsourcedName(String insourcedName) {
        this.insourcedName = insourcedName;
    }

    public String getQuantitativeRatedUnitValue() {
        return quantitativeRatedUnitValue;
    }

    public void setQuantitativeRatedUnitValue(String quantitativeRatedUnitValue) {
        this.quantitativeRatedUnitValue = quantitativeRatedUnitValue;
    }

    private String[] ids;

    public String[] getIds() {
        return ids;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    /** 指派人 */
    @Excel(name = "指派人")
    private String assignorUserId;
    /*状态：1：待提交 | 2：待审核 | 3：待指派 | 4：提交驳回 | 5：待接收 | 6：验收合格 | 7：验收不合格*/
    private String dataStatus;
    /*部门id*/
    private String deptId;
    /*部门名称*/
    private String deptName;

    private List<Long> dataStatusList;
    /*创建人*/
    private String createUserName;
    /*审核人*/
    private String auditUserName;
    /*指派人*/
    private String assignorUserName;
    /*合格*/
    private String qualifiedNum;
    /*不合格数量*/
    private String unqualifiedNum;
    /*验收图片ids*/
    private String acceptancePicIds;
    /*接收用户名称*/
    private String receiveUserName;
    /*任务数量*/
    private String taskNum;
    /*验收天数*/
    private String acceptanceDays;
    /*是否已检出*/
    private String checkOutStatus;

    /*审核人*/
    private  String assessorName;
    /*审核结果*/
    private String auditResult;

    public String getAssessorName() {
        return assessorName;
    }

    public void setAssessorName(String assessorName) {
        this.assessorName = assessorName;
    }

    public String getAuditResult() {
        return auditResult;
    }

    public void setAuditResult(String auditResult) {
        this.auditResult = auditResult;
    }

    public String getCheckOutStatus() {
        return checkOutStatus;
    }

    public void setCheckOutStatus(String checkOutStatus) {
        this.checkOutStatus = checkOutStatus;
    }

    public String getAcceptanceDays() {
        return acceptanceDays;
    }

    public void setAcceptanceDays(String acceptanceDays) {
        this.acceptanceDays = acceptanceDays;
    }

    public String getTaskNum() {
        return taskNum;
    }

    public void setTaskNum(String taskNum) {
        this.taskNum = taskNum;
    }

    public String getAssignorUserName() {
        return assignorUserName;
    }

    public void setAssignorUserName(String assignorUserName) {
        this.assignorUserName = assignorUserName;
    }

    public String getReceiveUserName() {
        return receiveUserName;
    }

    public void setReceiveUserName(String receiveUserName) {
        this.receiveUserName = receiveUserName;
    }

    public String getAcceptancePicIds() {
        return acceptancePicIds;
    }

    public void setAcceptancePicIds(String acceptancePicIds) {
        this.acceptancePicIds = acceptancePicIds;
    }

    public String getQualifiedNum() {
        return qualifiedNum;
    }

    public void setQualifiedNum(String qualifiedNum) {
        this.qualifiedNum = qualifiedNum;
    }

    public String getUnqualifiedNum() {
        return unqualifiedNum;
    }

    public void setUnqualifiedNum(String unqualifiedNum) {
        this.unqualifiedNum = unqualifiedNum;
    }

    public String getAuditUserName() {
        return auditUserName;
    }

    public void setAuditUserName(String auditUserName) {
        this.auditUserName = auditUserName;
    }

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date uploadTime;

    private String dateStr;
    /*审核意见*/
    private String auditMessage;
    /*接收意见*/
    private String receiveMessage;
    /*自由人员*/
    private List<String> ownPersonnel;
    /*外包人数*/
    private String outSourceNum;
    /*接收人*/
    private String receiveUserId;
    /*作业项目id*/
    private String quantitativeTypeId;
    /*作业项目标准*/
    private String quantitativeTypeValue;
    /*作业项目名称*/
    private String quantitativeTypeName;
    /*标准对应金额*/
    private String quantitativeLaborCost;
    /*自由人员名称组合*/
    private String personalUsername;
    /*类型*/
    private String messageType;
    /*1 自主加外包 2 自主 3外包 4都未选择*/
    private String type;
    /*平均每人工作量*/
    private String perDay;
    /*平均每人工作量合计*/
    private String perDayTotal;
    /*完成系数*/
    private String completionCoefficient;
    private String dealDate;
    private String inSourceNum;
    /*指派日期*/
    private String assignDate;

    private String ownPersonnelStr;

    public String getOwnPersonnelStr() {
        return ownPersonnelStr;
    }

    public void setOwnPersonnelStr(String ownPersonnelStr) {
        this.ownPersonnelStr = ownPersonnelStr;
    }

    public String getPerDayTotal() {
        return perDayTotal;
    }

    public void setPerDayTotal(String perDayTotal) {
        this.perDayTotal = perDayTotal;
    }

    public String getAssignDate() {
        return assignDate;
    }

    public void setAssignDate(String assignDate) {
        this.assignDate = assignDate;
    }

    public String getInSourceNum() {
        return inSourceNum;
    }

    public void setInSourceNum(String inSourceNum) {
        this.inSourceNum = inSourceNum;
    }

    public String getDealDate() {
        return dealDate;
    }

    public void setDealDate(String dealDate) {
        this.dealDate = dealDate;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPerDay() {
        return perDay;
    }

    public void setPerDay(String perDay) {
        this.perDay = perDay;
    }

    public String getCompletionCoefficient() {
        return completionCoefficient;
    }

    public void setCompletionCoefficient(String completionCoefficient) {
        this.completionCoefficient = completionCoefficient;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public String getPersonalUsername() {
        return personalUsername;
    }

    public void setPersonalUsername(String personalUsername) {
        this.personalUsername = personalUsername;
    }

    public String getQuantitativeLaborCost() {
        return quantitativeLaborCost;
    }

    public void setQuantitativeLaborCost(String quantitativeLaborCost) {
        this.quantitativeLaborCost = quantitativeLaborCost;
    }

    public String getQuantitativeTypeId() {
        return quantitativeTypeId;
    }

    public void setQuantitativeTypeId(String quantitativeTypeId) {
        this.quantitativeTypeId = quantitativeTypeId;
    }

    public String getQuantitativeTypeValue() {
        return quantitativeTypeValue;
    }

    public void setQuantitativeTypeValue(String quantitativeTypeValue) {
        this.quantitativeTypeValue = quantitativeTypeValue;
    }

    public String getQuantitativeTypeName() {
        return quantitativeTypeName;
    }

    public void setQuantitativeTypeName(String quantitativeTypeName) {
        this.quantitativeTypeName = quantitativeTypeName;
    }

    public String getOutSourceNum() {
        return outSourceNum;
    }

    public void setOutSourceNum(String outSourceNum) {
        this.outSourceNum = outSourceNum;
    }

    public String getReceiveUserId() {
        return receiveUserId;
    }

    public void setReceiveUserId(String receiveUserId) {
        this.receiveUserId = receiveUserId;
    }

    public List<String> getOwnPersonnel() {
        return ownPersonnel;
    }

    public void setOwnPersonnel(List<String> ownPersonnel) {
        this.ownPersonnel = ownPersonnel;
    }

    public String getReceiveMessage() {
        return receiveMessage;
    }

    public void setReceiveMessage(String receiveMessage) {
        this.receiveMessage = receiveMessage;
    }

    public String getAuditMessage() {
        return auditMessage;
    }

    public void setAuditMessage(String auditMessage) {
        this.auditMessage = auditMessage;
    }

    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    public int getXh() {
        return xh;
    }

    public void setXh(int xh) {
        this.xh = xh;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public List<Long> getDataStatusList() {
        return dataStatusList;
    }

    public void setDataStatusList(List<Long> dataStatusList) {
        this.dataStatusList = dataStatusList;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(String dataStatus) {
        this.dataStatus = dataStatus;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setiTroubleshooting(Integer iTroubleshooting) 
    {
        this.iTroubleshooting = iTroubleshooting;
    }

    public Integer getiTroubleshooting() 
    {
        return iTroubleshooting;
    }
    public void setiPart(Integer iPart) 
    {
        this.iPart = iPart;
    }

    public Integer getiPart() 
    {
        return iPart;
    }
    public void setLocationPileNumberBegin(String locationPileNumberBegin) 
    {
        this.locationPileNumberBegin = locationPileNumberBegin;
    }

    public String getLocationPileNumberBegin() 
    {
        return locationPileNumberBegin;
    }
    public void setLocationPileNumberEnd(String locationPileNumberEnd) 
    {
        this.locationPileNumberEnd = locationPileNumberEnd;
    }

    public String getLocationPileNumberEnd() 
    {
        return locationPileNumberEnd;
    }
    public void setLocationNum(String locationNum) 
    {
        this.locationNum = locationNum;
    }

    public String getLocationNum() 
    {
        return locationNum;
    }
    public void setRoadName(String roadName) 
    {
        this.roadName = roadName;
    }

    public String getRoadName() 
    {
        return roadName;
    }
    public void setTroubleshootingDirection(String troubleshootingDirection) 
    {
        this.troubleshootingDirection = troubleshootingDirection;
    }

    public String getTroubleshootingDirection() 
    {
        return troubleshootingDirection;
    }
    public void setDamageLevel(Integer damageLevel) 
    {
        this.damageLevel = damageLevel;
    }

    public Integer getDamageLevel() 
    {
        return damageLevel;
    }
    public void setDamageNum(String damageNum) 
    {
        this.damageNum = damageNum;
    }

    public String getDamageNum() 
    {
        return damageNum;
    }
    public void setNumUnit(Integer numUnit) 
    {
        this.numUnit = numUnit;
    }

    public Integer getNumUnit() 
    {
        return numUnit;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setRepairMethod(Integer repairMethod) 
    {
        this.repairMethod = repairMethod;
    }

    public Integer getRepairMethod() 
    {
        return repairMethod;
    }
    public void setPicIds(String picIds) 
    {
        this.picIds = picIds;
    }

    public String getPicIds() 
    {
        return picIds;
    }
    public void setTroubleshootingTime(String troubleshootingTime) 
    {
        this.troubleshootingTime = troubleshootingTime;
    }

    public String getTroubleshootingTime() 
    {
        return troubleshootingTime;
    }
    public void setAuditUserId(String auditUserId) 
    {
        this.auditUserId = auditUserId;
    }

    public String getAuditUserId() 
    {
        return auditUserId;
    }
    public void setAssignorUserId(String assignorUserId) 
    {
        this.assignorUserId = assignorUserId;
    }

    public String getAssignorUserId() 
    {
        return assignorUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("iTroubleshooting", getiTroubleshooting())
            .append("iPart", getiPart())
            .append("locationPileNumberBegin", getLocationPileNumberBegin())
            .append("locationPileNumberEnd", getLocationPileNumberEnd())
            .append("locationNum", getLocationNum())
            .append("roadName", getRoadName())
            .append("troubleshootingDirection", getTroubleshootingDirection())
            .append("damageLevel", getDamageLevel())
            .append("damageNum", getDamageNum())
            .append("numUnit", getNumUnit())
            .append("description", getDescription())
            .append("repairMethod", getRepairMethod())
            .append("picIds", getPicIds())
            .append("troubleshootingTime", getTroubleshootingTime())
            .append("auditUserId", getAuditUserId())
            .append("assignorUserId", getAssignorUserId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
